<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:ui="http://java.sun.com/jsf/facelets"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:p="http://primefaces.org/ui">
	  
	  <h:head>
		<h:outputScript library="javax.faces" name="jsf.js" />
		<h:outputScript library="primefaces" name="jquery/jquery.js" />	
	  </h:head>
	  <h:body>
	  	<h:form id="cliente">
	  		<label>
	  			<span>Nome</span>
	  			<p:inputText id="nome" binding="#{nome}"></p:inputText>	
	  		</label>
	  		<br/>
	  		<label>
	  			<span>CPF</span>
	  			<p:inputText id="cpf"></p:inputText>	
	  		</label>
	  		<br/>
	  		<label>
	  			<span>RG</span>
	  			<p:inputText id="rg"></p:inputText>	
	  		</label>
	  		<br/>
	  		<label>
	  			<span>Telefone Contato</span>
	  			<p:inputText id="telefoneContato"></p:inputText>	
	  		</label>
	  		<br/>
	  		<label>
	  			<span>Email</span>
	  			<p:inputText id="email"></p:inputText>	
	  		</label>
	  		<br/>
	  		<p:commandButton action="#{clienteService.save(nome.value)}" value="Salvar">
	  		</p:commandButton>
	  	</h:form>
	  </h:body>
</html>